package com.itany.corejava.code06_面向对象.bms;

/**
 * @author 石小俊
 * @date 2024年01月17日 15:20
 */
public class LoanCreditAccount extends CreditAccount implements Loanable{
    private double loanAmount;  // 贷款金额

    public double getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(double loanAmount) {
        this.loanAmount = loanAmount;
    }

    @Override
    public void providerLoan(double money) {

    }

    @Override
    public boolean payLoan(double money) {
        return false;
    }

    @Override
    public double queryLoan() {
        return 0;
    }
}
